module.exports = {
  openId: {
    label: '微信Id',
    unique:true,
    unList:true
  },
  email:{
    label:'邮箱',
    rule: { Email: true },
  },
  userId:{
    label:'用户',
    type:'onlyselect'
  },
  passwd:{
    label:'密码'
  },
  phone: {
    label: '手机号',
    rule: { Phone: true },
    type: 'input',
    attr: {
      type: 'tel',
      placeholder: '请输入手机号'
    }
  },
  nickName: {
    label: '昵称',
    type: 'input'
  },
  avatarUrl: {
    label: '头像',
    type: 'image'
  },
  gender: {
    label: '性别',
    attr: {
      actions: [
        { name: '未知', value: 0 },
        { name: '男', value: 1 },
        { name: '女', value: 2 }
      ]
    },
    type: 'select'
  }
}